<template>
    <div>
        <!-- Indicator组件 -->
        <el-badge :type="num == current?'primary':'info'" v-for="num in total" :key="num" :value="num<10? '0' + num : num " class="item"></el-badge>
    </div>
</template>

<script>
export default {
  data() {
    return {
      total: 20,
      current: 1,
    };
  }
};
</script>

<style scoped>
</style>